package com.ruoyi.bigscreen.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @author Ding
 * @date 2021/1/27
 */
@Document(indexName = "tm_edge")
@TableName(value = "tm_edge")
@Data
public class TmEdge {
    @TableId(value = "id",type = IdType.INPUT)
    @TableField(value = "id")
    private String id;
    @TableField(value = "from_id")
    private String fromId;
    @TableField(value = "to_id")
    private String toId;
    @TableField(value = "edge_type")
    private String edgType;
    @TableField(value = "create_time")
    private java.sql.Timestamp createTime;
    @TableField(value = "update_time")
    private java.sql.Timestamp updateTime;

}
